﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="UserAdd.aspx.cs" Inherits="Ankin.EHBH.Web.Modules.SystemManage.UserAdd" Title="医用耗材管理系统" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphcenter" runat="server">
 <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../../js/jquery.flexselect.js" type="text/javascript"></script>

    <script src="../../js/liquidmetal.js" type="text/javascript"></script>

    <script src="../../js/popup.js" type="text/javascript"></script>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
     <td class="right-color">系统设置—添加用户</td>
      </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:14px;">
        <tr>
            <td class="bor bor-bg"> 添加用户</td></tr>
            <tr>
            <td class="bor"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="t1">
            <asp:Panel ID="Panel2" runat="server">
                <tr>
                    <td align="right">
                    </td>
                    <td>
                    <asp:RadioButton ID="rdb1" runat="server" AutoPostBack="True" Checked="True" GroupName="DeptSrc"
                                    OnCheckedChanged="rdb1_CheckedChanged" Text="HIS系统" />
                                <asp:RadioButton ID="rdb2" runat="server" AutoPostBack="True" GroupName="DeptSrc"
                                    OnCheckedChanged="rdb2_CheckedChanged" Text="自定义" />
                    </td>
                    <td align="right">
                    </td>
                    <td>
                    </td>
                    <td align="right">
                    </td>
                    <td>
                    </td>
                </tr>
                </asp:Panel>
                    <tr>
                        <td align="right">
                            用户名：*</td>
                        <td>
                            <asp:DropDownList ID="ddlDBUser" runat="server" OnSelectedIndexChanged="ddlDBUser_SelectedIndexChanged" AutoPostBack="True">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtDBUser" runat="server" MaxLength="20" Width="150"></asp:TextBox></td>
                        <td align="right">
                            用户ID：</td>
                        <td>
                            <asp:Label ID="lblUserID" runat="server" Text="Label"></asp:Label></td>
                        <td align="right">建立日期：</td>
                        <td>
                            <asp:Label ID="lblCreate_Date" runat="server" Text="lab"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right">
                            姓名：*</td>
                        <td>
                            <asp:DropDownList ID="ddlUserName" runat="server" OnSelectedIndexChanged="ddlUserName_SelectedIndexChanged" AutoPostBack="True">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtUserName" runat="server" MaxLength="20" Width="150"></asp:TextBox></td>
                        <td align="right">
                            科室：</td>
                        <td>
                            <asp:DropDownList ID="ddlDept" runat="server" >
                            </asp:DropDownList></td>
                            <td colspan="2"> </td>
                             </tr>
                       
        <tr>
            <td>权限设置：</td>
            <td colspan="7"><input id="addmx" type="button" value="添加权限" class="longbutton" style="width:90px; height:25px; cursor:pointer;" /></td>
        </tr>
    </table>
            </td>
            </tr>
     </table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:14px;">
        <tr>
            <td class="bor bor-bg">角色分配：</td></tr>
        <tr>
            <td class="bor" style="padding:13px;">
             <asp:GridView ID="grdOutList" runat="server" AutoGenerateColumns="False" CellPadding="4"  ForeColor="#000000" DataKeyNames="ID"  Width="100%" OnRowDeleting="grdOutList_RowDeleting1" >
                  <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <RowStyle CssClass="gv-first-line"/>
                  <Columns>
                      <asp:BoundField DataField="STORE_ID" HeaderText="库房代码" />
                      <asp:BoundField DataField="ROLE_NAME" HeaderText="用户角色" />
                      <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除 &lt;/div&gt; " ShowDeleteButton="True" HeaderText="删除" />
                  </Columns>
           <PagerStyle CssClass="fy" />
           <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="Black" />
           <HeaderStyle  CssClass="gv-head" />
           <EditRowStyle BackColor="Black" />
           <AlternatingRowStyle BackColor="White" />
              </asp:GridView> 
              
              <table width="300" border="0" cellpadding="0" cellspacing="0" style="margin-top:14px;" align="center">
              <tr>
               <td><asp:Button ID="btnModify" runat="server" Text="保存" OnClick="btnModify_Click" CssClass="button" Width="57" Height="25" style="cursor:pointer;" />
               </td>
               <td><asp:Button ID="btnOK" runat="server" Text="添加" OnClick="btnOK_Click"  CssClass="button" Width="57" Height="25"  style="cursor:pointer;"/></td>
               <td><asp:Button ID="btnCancle" runat="server" Text="取消" OnClick="btnCancle_Click"  CssClass="button" Width="57"  style="cursor:pointer;" Height="25" /></td>
               <td><asp:Label ID="lblVaild" runat="server" ForeColor="Red"></asp:Label></td>
              </tr>
              </table>
            </td>
        </tr>
</table>
            
   <div id="popupContact">
        <a id="popupContactClose">x</a>
        <br />
<table  border="0" style="width: 650px" cellpadding="0" cellspacing="0">
                    <tr><td class="bor bor-bg">添加权限</td></tr>
                        <tr><td class="bor">
                   <table  border="0" style="width: 650px" cellpadding="0" cellspacing="0" class="t1">
                   <tr>
                     <td align="right">库房代码：*</td>
                            <td>
                                <asp:DropDownList ID="ddlStoreId" runat="server" >
                                </asp:DropDownList></td>
                            <td align="right">用户角色：*</td>
                            <td>
                                <asp:DropDownList ID="ddlRole" runat="server" >
                                </asp:DropDownList></td>
                        </tr>
                        </table>
                        <table  border="0" style="width: 300px;margin-top:14px; padding-bottom:14px;" cellpadding="0" cellspacing="0" align="center">
                        <tr>
                            <td>
                                <asp:Button ID="btnSaveToDt" runat="server" Text="确定" OnClick="btnSaveToDt_Click"  CssClass="longbutton" Width="90" Height="25"  style="cursor:pointer;"/></td>
                                <td><asp:Button ID="btnClose" runat="server" Text="关闭按钮" OnClick="btnClose_Click"   CssClass="longbutton" Width="90" Height="25"  style="cursor:pointer;"/>
                <asp:Label ID="lblyz" runat="server" ForeColor="Red"></asp:Label></td>
                </tr>
                </table>
          </td>
         </tr>
      </table>
  </div>
    <div id="backgroundPopup">
    </div>
</asp:Content>
